package com.interesting.examsystem.user.model;

import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * @ClassName: User
 * @Author: ZhengXinyi
 * @Description: 用户登录
 * @Date: 2021/7/24 17:30
 * @Version: 1.0
 */
@Data
public class User {

    @NotBlank(message = "用户名不能为空")
    private final String username;
    @NotBlank(message = "密码不能为空")
    private String password;
}
